package com.itfreer.power.entity.role;

import java.io.Serializable;
import java.util.Date;

/**
 * 定义角色委托实体类
 */
public class RoleEntrustEntity implements Serializable {
	private static final long serialVersionUID = -4336770122891621550L;

	private String id;
	
	/**
	 * 委托人ID
	 */
	private String entrustUserId;
	
	/**
	 * 委托人名称
	 */
	private String entrustUserName;

	/**
	 * 被委托者ID
	 */
	private String entrustedUserId;
	
	/**
	 * 被委托者名称
	 */
	private String entrustedUserName;

	/**
	 * 委托角色
	 */
	private String entrustRoleId;
	
	/**
	 * 委托角色
	 */
	private String entrustRoleName;
	
	/**
	 * 委托开始时间
	 */
	private Date beginTime;
	
	/**
	 * 委托结束时间
	 */
	private Date endTime;
	
	/**
	 * 是否启用
	 */
	private Boolean canUse;
	
	/**
	 * 是否有效
	 */
	private Boolean valid;
	
	public String getId() {
		return id;
	}

	public void setId(String id) {
		this.id = id;
	}

	/**
	 * 委托人ID
	 */
	public String getEntrustUserId() {
		return entrustUserId;
	}

	/**
	 * 委托人ID
	 */
	public void setEntrustUserId(String entrustUserId) {
		this.entrustUserId = entrustUserId;
	}

	/**
	 * 被委托者ID
	 */
	public String getEntrustedUserId() {
		return entrustedUserId;
	}

	/**
	 * 被委托者ID
	 */
	public void setEntrustedUserId(String entrustedUserId) {
		this.entrustedUserId = entrustedUserId;
	}

	/**
	 * 委托角色
	 */
	public String getEntrustRoleId() {
		return entrustRoleId;
	}

	/**
	 * 委托角色
	 */
	public void setEntrustRoleId(String entrustRoleId) {
		this.entrustRoleId = entrustRoleId;
	}

	/**
	 * 委托开始时间
	 */
	public Date getBeginTime() {
		return beginTime;
	}

	/**
	 * 委托开始时间
	 */
	public void setBeginTime(Date beginTime) {
		this.beginTime = beginTime;
	}

	/**
	 * 委托结束时间
	 */
	public Date getEndTime() {
		return endTime;
	}

	/**
	 * 委托结束时间
	 */
	public void setEndTime(Date endTime) {
		this.endTime = endTime;
	}

	/**
	 * 是否启用
	 */
	public Boolean getCanUse() {
		return canUse;
	}

	/**
	 * 是否启用
	 */
	public void setCanUse(Boolean isUse) {
		this.canUse = isUse;
	}

	public String getEntrustUserName() {
		return entrustUserName;
	}

	public void setEntrustUserName(String entrustUserName) {
		this.entrustUserName = entrustUserName;
	}

	public String getEntrustedUserName() {
		return entrustedUserName;
	}

	public void setEntrustedUserName(String entrustedUserName) {
		this.entrustedUserName = entrustedUserName;
	}

	public String getEntrustRoleName() {
		return entrustRoleName;
	}

	public void setEntrustRoleName(String entrustRoleName) {
		this.entrustRoleName = entrustRoleName;
	}

	public Boolean getValid() {
		return valid;
	}

	public void setValid(Boolean valid) {
		this.valid = valid;
	}
}